<style type="text/css">
.subnav{
    
    background-color: #EEEEEE;
    background-image: -moz-linear-gradient(center top , #F5F5F5 0%, #EEEEEE 100%);
    background-repeat: repeat-x;
    border: 1px solid #E5E5E5;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.067);
    width: 100%;
}
.subnav ul{
	width:960px; margin:0 auto; line-height:36px;
}
.subnav ul > li{
	display:inline;
}
.subnav ul > li > a {
    color: #999;
    display: inline-block;
    font-size: 13px;
	margin-right:10px;
    text-align: center;
    text-shadow: 1px -1px 1px #eee;
	/*line-height:40px;*/
border:none;
} 


</style>
        
     
        
        <div class="subnav">
        	
          <ul>
            <li class="active"><a href="#house">房产</a></li>
            <li><a href="#family">家装</a></li>
            <li><a href="#marry">婚嫁</a></li>
            <li><a href="#auto">汽车</a></li>
            <li><a href="#food">美食</a></li>
            <li><a href="#tour">旅游</a></li>
            <li><a href="#baby">亲子</a></li>
            <li><a href="#fashion">时尚</a></li>
            <li><a href="#health">健康</a></li>
            <li><a href="#money">理财</a></li>
            <li><a href="#digi">数码</a></li>
            <li><a href="#edu">教育</a></li>
          </ul>
        
        </div>
        